package com.k.kpp.dstest.webservice;

import com.k.kpp.dstest.model.User;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.util.List;
import java.util.Map;

@WebService
public interface HelloService {
    @WebMethod
    String getStr(@WebParam(name="cep") String cep);
    @WebMethod
    User getBean(@WebParam(name = "cep") String cep);
    @WebMethod
    Map<String,String> getMap(@WebParam(name = "cep") String cep);
    @WebMethod
    List<User> getList(@WebParam(name = "cep") String cep);
}
